package com.mes.cloud.api.dto.response.organization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 组织表
 *
 * @author xy
 * @version 2019-07-30 10:10:54
 * @email yuan.xue3@pactera.com
 */
@Data
@ApiModel("组织表详情dto")
public class SysOrganizationDetailsDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID", required = false)
    private String id;

    @ApiModelProperty(value = "组织编码", required = false)
    private String code;

    @ApiModelProperty(value = "组织名称", required = false)
    private String name;

    @ApiModelProperty(value = "组织别名", required = false)
    private String aliasName;

    @ApiModelProperty(value = "SF编码", required = false)
    private String sfCode;

    @ApiModelProperty(value = "组织类型", required = false)
    private String type;

    @ApiModelProperty(value = "组织层级", required = false)
    private String level;

    @ApiModelProperty(value = "组织标识", required = false)
    private String flag;

    @ApiModelProperty(value = "上级组织", required = false)
    private String parentId;

    @ApiModelProperty(value = "详细地址", required = false)
    private String addressDetail;

    @ApiModelProperty(value = "成本中心编码", required = false)
    private String costCode;

    @ApiModelProperty(value = "组织备注", required = false)
    private String remark;

    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;

    @ApiModelProperty(value = "组织上级名称", required = false)
    private String parentName;

    @ApiModelProperty(value = "组织负责人id", required = false)
    private String employeeId;

    @ApiModelProperty(value = "组织负债人姓名", required = false)
    private String realName;

    @ApiModelProperty(value = "组织负责人员工编号", required = false)
    private String employeeNo;

    @ApiModelProperty(value = "数据来源（CRM,SF,SAP,FSFA）", required = false)
    private String source;

    @ApiModelProperty(value = "组织行政区划", required = false)
    private List<SysOrganizationAreaDto> sysOrganizationAreas;

    @ApiModelProperty(value = "是否更新上级组织(0.否 1.是)", required = false)
    private String updateParentFlag;


}
